home *** CD-ROM | disk | FTP | other *** search
- Command Name : CD
-
- Function : Set, change or display the current directory
-
- Arguments : [<dir|pattern>]
-
- Location : Kickstart ROM
-
- This command sets the directory you mean when no path is specified. The
- Path function sets a list of drawers to look in, but CD is the first place
- AmigaDOS looks for ommands. If you typed "Oranges" at the CLI prompt, the
- first place it would look is inthe current directory. It is useful when
- using long directory paths. Instead of typing "run SYS:Utilities/EnvPrint"
- you could CD to "SYS:Utilities" then type EnvPrint. This has the addes
- bonus that any other file in that directory could be accessed. You don't
- even have to type CD - just typing the irectory path has the same effect.
- CD / moves you out of the current drawer and into the last, until the root
- directory is reached. CD shows the current directory and you can even use
- pattern matching (see wildcards) to save you typing!
-
- Examples
-
- CD Df1:Work
-
- Makes the work drawer on the disk in drive 1 the current directory
-
-